package com.solotiger.douban.biz.model.movie;

import java.io.Serializable;
import java.util.Map;

public class Rating implements Serializable {
    /**
     * max : 10
     * average : 7.9
     * details : {"1":2048,"2":4709,"3":23622,"4":42009,"5":32046}
     * stars : 40
     * min : 0
     */

    private int max;
    private double average;
    private Map<String, String> details;
    private String stars;
    private int min;

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public double getAverage() {
        return average;
    }

    public void setAverage(double average) {
        this.average = average;
    }

    public Map<String, String> getDetails() {
        return details;
    }

    public void setDetails(Map<String, String> details) {
        this.details = details;
    }

    public String getStars() {
        return stars;
    }

    public void setStars(String stars) {
        this.stars = stars;
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }
}
